package bb.lanxing.lib.devices.bici.model;

import bb.lanxing.lib.devices.bici.BiciDate;
import java.io.Serializable;

public class GPSData implements Serializable {
    private float alt;
    private float lat;
    private float lon;
    private float speed;
    private String timeString;
    private long timestamp;

    public String toString() {
        return "\n lon = " + this.lon + "\n lat = " + this.lat + "\n alt = " + this.alt + "\n timeStamp = " + this.timestamp + "\n speed = " + this.speed + "\n timeString = " + BiciDate.getFormatDate(1, this.timestamp);
    }

    public float getLon() {
        return this.lon;
    }

    public void setLon(float f) {
        this.lon = f;
    }

    public float getLat() {
        return this.lat;
    }

    public void setLat(float f) {
        this.lat = f;
    }

    public float getAlt() {
        return this.alt;
    }

    public void setAlt(float f) {
        this.alt = f;
    }

    public long getTimestamp() {
        return this.timestamp;
    }

    public void setTimestamp(long j) {
        this.timestamp = j;
    }

    public float getSpeed() {
        return this.speed;
    }

    public void setSpeed(float f) {
        this.speed = f;
    }

    public String getTimeString() {
        return this.timeString;
    }

    public void setTimeString(String str) {
        this.timeString = str;
    }
}
